.class Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;
.super Ljava/lang/Object;
.source "NiceAppCommentDetailActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->initWidgetsActions()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 276
    iput-object p1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 10
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 280
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$100(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/model/UserModel;

    move-result-object v0

    if-nez v0, :cond_1b

    .line 281
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # setter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mClickedView:Landroid/view/View;
    invoke-static {v0, p1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$1002(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;Landroid/view/View;)Landroid/view/View;

    .line 282
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    invoke-virtual {v0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {}, Lcom/brixd/niceapp/util/SettingUtils;->getSignonMeiyixiaHint()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/brixd/niceapp/service/LoginService;->login(Landroid/content/Context;Ljava/lang/String;)V

    .line 317
    :cond_1a
    :goto_1a
    return-void

    .line 284
    :cond_1b
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    invoke-virtual {v0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "CommentDetailPageClickMainCommentUpIcon"

    invoke-static {v0, v1}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 286
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUpTimesTxt:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$1100(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Landroid/widget/TextView;

    move-result-object v0

    invoke-static {v0}, Lcom/brixd/niceapp/animator/AnimatorUtils;->animateHeartbeat(Landroid/view/View;)V

    .line 288
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mDelayHandler:Lcom/brixd/niceapp/util/RequestDelayHandler;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$1200(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/util/RequestDelayHandler;

    move-result-object v0

    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUpTimesTxt:Landroid/widget/TextView;
    invoke-static {v1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$1100(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/util/RequestDelayHandler;->isAbleToRequest(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1a

    .line 289
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mDelayHandler:Lcom/brixd/niceapp/util/RequestDelayHandler;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$1200(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/util/RequestDelayHandler;

    move-result-object v0

    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUpTimesTxt:Landroid/widget/TextView;
    invoke-static {v1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$1100(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/util/RequestDelayHandler;->startRequest(Ljava/lang/Object;)V

    .line 291
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$100(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/model/UserModel;

    move-result-object v0

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/UserModel;->getUid()I

    move-result v0

    invoke-static {v0}, Lcom/brixd/niceapp/util/SecrUtils;->makeToken(I)Lcom/brixd/niceapp/model/Token;

    move-result-object v7

    .line 292
    .local v7, "token":Lcom/brixd/niceapp/model/Token;
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$1400(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    move-result-object v0

    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;
    invoke-static {v1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$900(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/model/CommentModel;

    move-result-object v1

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/CommentModel;->getCommentId()I

    move-result v1

    invoke-virtual {v7}, Lcom/brixd/niceapp/model/Token;->getTimestamp()J

    move-result-wide v2

    invoke-virtual {v7}, Lcom/brixd/niceapp/model/Token;->getUid()I

    move-result v4

    invoke-virtual {v7}, Lcom/brixd/niceapp/model/Token;->getSecr()Ljava/lang/String;

    move-result-object v5

    new-instance v6, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7$1;

    invoke-direct {v6, p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7$1;-><init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;)V

    invoke-interface/range {v0 .. v6}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->diggComment(IJILjava/lang/String;Lretrofit/Callback;)V

    goto :goto_1a
.end method
